package com.laxcen.smoke.service;

import com.github.pagehelper.PageInfo;
import com.laxcen.smoke.dto.res.OperaterecordExtraRes;
import com.laxcen.smoke.util.Response;

import java.text.ParseException;

public interface OperationService {

    Response insert(String smartno, String boxno, String opname, Integer optype, String video, String orderno, String remark);

    Response<PageInfo<OperaterecordExtraRes>> getAllList(int pageNo, int pageSize, int roleflag, String province, String city, String area);

    Response<PageInfo<OperaterecordExtraRes>> getTabList(String orderno, String starttime, String endtime, int roleflag, String province, String city, String area, int pageNo, int pageSize) throws ParseException;

    Response delete(String id);

    Response<OperaterecordExtraRes> getOne(String id);

}
